package com.cn.serverline.lineicp.productionLine.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.Data;
import java.sql.Timestamp;

/**
 * 滚动计划导入
 *
 * @author 郭明然
 * @since 2024-08-22
 */
@TableName("PLAN_ROLLING_IMPORT")
@ApiModel(value = "RollingImport对象", description = "滚动计划导入")
@Data
@EqualsAndHashCode
public class RollingImport implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    @TableId(value = "ID", type = IdType.ASSIGN_ID)
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;

    /**
     * 文件名称
     */
    @ApiModelProperty("文件名称")
    @TableField("FILE_NAME")
    private String fileName;

    /**
     * 存储路径
     */
    @ApiModelProperty("存储路径")
    @TableField("FILE_PATH")
    private String filePath;

    /**
     * T
     */
    @ApiModelProperty("T")
    @TableField("T_MONTHIY")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long tMonthiy;

    /**
     * 年份
     */
    @ApiModelProperty("年份")
    @TableField("YEAR")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long year;

    /**
     * 月份
     */
    @ApiModelProperty("月份")
    @TableField("MONTH")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long month;

    /**
     * 导入时间
     */
    @ApiModelProperty("导入时间")
    @TableField("IMPORT_TIME")
    private Timestamp importTime;

    /**
     * 下发状态
     */
    @ApiModelProperty("下发状态")
    @TableField("DISTRIBUTED")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long distributed;

    /**
     * 下发日期
     */
    @ApiModelProperty("下发日期")
    @TableField("DISTRIBUTE_DATE")
    private Timestamp distributeDate;

    /**
     * 乐观锁
     */
    @ApiModelProperty("乐观锁")
    @TableField("VERSION")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long version;

    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    @TableField("CREATE_USER")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long createUser;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    @TableField("CREATE_TIME")
    private Timestamp createTime;

    /**
     * 修改人
     */
    @ApiModelProperty("修改人")
    @TableField("UPDATE_USER")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long updateUser;

    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    @TableField("UPDATE_TIME")
    private Timestamp updateTime;

    /**
     * 备注
     */
    @ApiModelProperty("备注")
    @TableField("REMARK")
    private String remark;
}
